package com.hu.service;

import com.hu.config.comment.ResponseResult;
import com.hu.dal.pojo.User;

import java.util.List;

public interface UserService {
    ResponseResult insert(User user);

    ResponseResult getAll(int page, int pageSize);

    ResponseResult getById(int id);

    ResponseResult update(User user);

    ResponseResult delete(int id);
}
